package com.web.controller.tool;


import com.web.controller.common.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * swagger 接口
 *
 * @author liuyanlong
 */
@Controller
@RequestMapping("/doc")
public class SwaggerController extends BaseController{
    @GetMapping()
    public String index() {
        return redirect("/swagger-ui.html");
    }
}
